package org.spring.aop.aspectj;

import java.lang.reflect.Method;

import org.spring.aop.Advice;
import org.spring.aop.PointCut;

public abstract class AbstractAspectJAdvice implements Advice{
	protected Method adviceMethod;
	protected PointCut pointCut;
	protected Object adviceObject;

	public AbstractAspectJAdvice(Method method, PointCut pointCut, Object adviceObject) {
		this.adviceMethod = method;
		this.pointCut = pointCut;
		this.adviceObject = adviceObject;
	}

	public PointCut getPointcut() {
		return pointCut;
	}
}
